package com.dog.basics.bean.dto.api.mtkj;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Size;
import java.math.BigDecimal;

@Data
public class ApiGoodFromDto {

    @ApiModelProperty(value = "店铺id", dataType = "Long", required = false)
    private Long shopId;

    @ApiModelProperty(value = "商品类被id", dataType = "Long", required = false)
    private Long goodTypeId;

    @ApiModelProperty(value = "商品名称", dataType = "String", required = false)
    @Size(min = 0,max = 50,message = "格式不正确")
    private String goodName;

    @ApiModelProperty(value = "商品状态 0下架，1正常，9违规（禁售）", dataType = "Integer", required = false)
    private Integer status;

    /**
     * 商品价格
     */
    @ApiModelProperty(value = "商品价格 0降序 1升序 没有就是没选",dataType = "Integer", required = false)
    private Integer price;

    /**
     * 销售数量
     */
    @ApiModelProperty(value = "销售数量 0降序 1升序 没有就是没选",dataType = "Integer", required = false)
    private Integer sales;



}
